home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
program
/
4cmp22o.zip
/
READ.ME2
< prev
next >
Wrap
Text File
|
1994-08-13
|
4KB
|
87 lines
The version number has been changed from 2.1 to 2.2o. Some typos have been
corrected in the manual. Registered users can buy the pages of the revised
manual for $20, including shipping, however the changes are so minor that
I don't recommend bothering.
There is also now a companion ANS Forth version, 2.2s.
Changes made:
The words <# # #S #> HOLD and SIGN are no longer available in interpret
or host compile states. It's just as well as these words wouldn't work
considering there is no TYPE in the host.
A new compiler directive I80386 will produce slightly faster code on
80386 or later processors at the expense of slightly greater code
size. I80386 forces I80186. Even when I80386 is not used, the order
of some operations have been changed to provide slightly faster code
for 80386 or later processors.
The operation of FORCE changed to reflect the manual, and the intent. It
didn't used to force alignment in the code segment.
#IF in target compile state would cause a system crash if there was no
literal argument. This is now fixed and gives a "no literal" warning message.
The word REQUIRE was documented as REQUIRES. I changed the word to match
the documentation. REQUIRES is rarely used.
EQU words would not work properly in interpret or host compile states when
there was a separate data segment and CSEG was active.
>DOES and ;CODE did not work properly with IN/OUT. This was a bug
introduced in version 2.1.
**********************************
The version number has been changed from 2.0 to 2.1. Registered users
can buy the pages of the revised manual for $20, including shipping,
however the changes are given below.
A couple of bugs have been fixed in 4c.com executable which were in
the shareware distribution. Please replace that file.
The EXEC function as be corrected to work properly with DOS versions prior
to 4.0. It only worked with later versions by luck since it wasn't creating
the argument list properly -- I guess DOS doesn't read the list following
its own rules! There is now also a spawn function:
spawn ( command arguments -- failflag )
"command" is a pointer to a counted string which is the full pathname
of the desired command. "arguments" is a counted string which is the
command tail. Function returns a zero if execution succeeds.
The strings library has been modified so that the placement and/or
size of the string buffer can be changed in the application program
without having to alter the library file itself.
For instance, to have a 512 byte buffer instead of the default 1024, start
the source file "xxx MSDOS 512 CONSTANT StringSize INCLUDE STRINGS1".
While the example shows the string buffer at a fixed location, it can
be dynamically positioned at program startup if the EQUs STRBUF and
strend are set. In this case, strbufr should be declared to be an
EQU: "xxx MSDOS 0 EQU strbufr INCLUDE STRINGS1". In MAIN, the following
code can be executed: "HERE DUP EQU strbufr DUP EQU STRBUF EQU strend
StringSize ALLOT"
The IBM PC video display driver, DISPLAY1.4TH and DISPLAY2.4TH have been
revised to work in any text display mode.
MULTID now supports VGA 50 line mode. The HANOIMT demo program supports
a "1 CONSTANT VGA" option, which will allow a 10 ring demo.
ForthCMP now uses less memory to compile, allowing the compilation of bigger
programs (about 10% bigger).
The use of ', is more strict, in that the address compiled must be that of
a function without IN/OUT used. The use of DOES> is more strict in that
the dictionary entry must be made with CREATE and not with other defining
words. The use of CALL' is more strict, in that target must be that of a
function. None of these changes should adversely effect most programs, since
the prohibited situations were mostly invalid usage.
Tom Almy
August 1994